
$(document).ready(function(){
  $(&#39;.bodyfloat a&#39;).attr(&#39;target&#39;, &#39;_blank&#39;);
  $(&#39;.bodyfloat a&#39;).attr(&#39;itemprop&#39;, &#39;image&#39;);
});

$(document).ready(function() {
  var dimension = 84;
  $(&#39;.relatedwallpaper&#39;).find(&#39;img&#39;).each(function(n, image){
    var image = $(image);
    image.attr({src : image.attr(&#39;src&#39;).replace(/\/s\B\d{2,4}/,&#39;/s&#39; + dimension)});
  });
});

$(document).ready(function() {
  var dimension = 560;
  $(&#39;.bodyfloat&#39;).find(&#39;img&#39;).each(function(n, image){
    var image = $(image);
    image.attr({src : image.attr(&#39;src&#39;).replace(/\/s\B\d{2,4}/,&#39;/s&#39; + dimension)});
  });
});


$(document).ready(function() {
  var dimension = 2560;
  $(&#39;#dlbutton&#39;).find(&#39;a&#39;).each(function(n, image){
    var image = $(image);
    image.attr({href : image.attr(&#39;href&#39;).replace(/\/s\B\d{2,4}/,&#39;/s&#39; + dimension + &#39;-d&#39;)});
  });
});
$(document).ready(function() {
  var dimension = 2560;
  $(&#39;#sizebutton&#39;).find(&#39;a&#39;).each(function(n, image){
    var image = $(image);
    image.attr({href : image.attr(&#39;href&#39;).replace(/\/s\B\d{2,4}/,&#39;/s&#39; + dimension)});
  });
});